package com.workflow.sdk.infra.repository.factories;

import com.workflow.sdk.infra.repository.WorkflowExecuteRepository;
import com.workflow.sdk.infra.repository.WorkflowInfoRepository;
import com.workflow.sdk.infra.util.WorkflowConfigurableApplicationContext;

public class WorkFlowRepositoryFactory {

    public static final WorkflowInfoRepository workflowInfoRepositoryService = WorkflowConfigurableApplicationContext.applicationContext.getBean(WorkflowInfoRepository.class);

    public static final WorkflowExecuteRepository workflowExecuteRepositoryService = WorkflowConfigurableApplicationContext.applicationContext.getBean(WorkflowExecuteRepository.class);

}
